<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>纽斯达 NewStar | 网站后台管理</title>
<base href="<?=base_url()?>" />
<link rel="stylesheet" href="css/base.css" />
<link rel="stylesheet" href="css/admin/main.css" />
<link rel="stylesheet" href="css/admin/login.css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/admin/login.js"></script>
</head>
<body>
<div id="login">
	<h1><a href="home" title="纽斯达 NewStar"><img src="images/logo.jpg" alt="纽斯达 NewStar" /></a><span class="text-red">网站后台管理</span></h1>
	<?=form_open('admin/home/login',$form)?>
		<?php echo validation_errors('<label id="err">','</label>'); ?>
		<label id="msg" <?php if(!$msg):?>style="display:none;"<?php endif;?>><?=$msg?></label>
		<p>用户名：<input id="username" type="text" name="username" value="<?=set_value('username')?>" /></p>
		<p>密　码：<input id="password" type="password" name="password" /></p>
		<p>验证码：<input type="text" id="test" name="test" class="short-input" /> <a id="capImg"><?= $img ?></a> <a id="resetCap" href="javascript:;"  >换一张</a>
		</p>
		<p><input type="submit" id="submitCheck" value="登录" class="button"></p>
	</form>
</div>
</body>
</html>